package pricingTag;

// simulation of the price tag experiment
public class Simulation {
	Global global;

	public Simulation() {
		global = new Global();

	}

	public static void main(String[] args) {
		Simulation sm = new Simulation();
		Store heb = new Store("heb", sm.global);
		Store kroger = new Store("kroger", sm.global);
		sm.global.stores.add(heb);
		sm.global.stores.add(kroger);
		heb.products.add(new Product("Thinkpad T410", 1000, 800, 500, heb));
		kroger.products
				.add(new Product("Thinkpad T410", 1000, 750, 500, kroger));
		// sm.global.stores.get(0).products.add(new Product("Thinkpad T410",
		// 1000,
		// 800, 500, heb));
		// sm.global.stores.get(1).products.add(new Product("Thinkpad T410",
		// 1000,
		// 750, 500, kroger));

		// sm.global.show_stores();
		// sm.global.show_product_records();
		sm.global.negotiate("Thinkpad T410");
		// sm.global.show_deals();
		// sm.global.show_replys();

	}
}
